import React, {Component} from 'react';
import {
    StyleSheet,
    Text,
    View,
    Image,
    Button
} from 'react-native';


export default class LinkButton extends Component {
    render() {
        return (
            <View style={styles.container}>
                <Button title={this.props.message}
                        style={styles.loginButtonStyle}
                        titleStyle={{fontSize:14, color:'#fff'}}
                        onPress={()=>{
                           this.props.onPress()
                        }}
                />
            </View>
        );
    }
}

const styles = StyleSheet.create({
    container: {
    },

    loginButtonStyle:{
        height:100,
        backgroundColor:'#ff7000',
        borderRadius:20

    },

});

